package com.ifnk.portaljava.dapWeb.service;

import com.ifnk.portaljava.dapWeb.pojo.Location;
import com.ifnk.portaljava.dapWeb.pojo.Server;

import java.util.List;


public interface ServerService {

	public List<Server> findServerList(Location location);

	public Server findServerById(int id);

	public void deleteServer(int id);

	public String updateServer(Server server);

	public String addServer(Server server);
	
	//验证服务器名是否唯一
	public boolean checkServerName(String serverName);
	//验证24位点码是否唯一
	public boolean checkPoint24(String type,String point24,int serverId);
	
	//验证14位点码与serverId是否联合唯一
}
